#!/bin/bash
# $1 UUID
t_pid=$(ps x | grep $1 | grep -v grep | awk '{print $1}')
echo $t_pid
t_pids=(${t_pid//\n/})
# shellcheck disable=SC2068
for v in ${t_pids[@]}
do
 echo "服务已停止"
 kill -9 $v
done